Skip to content

Conversation

pcwalton
Copy link
Contributor

This starts moving a bunch of privacy checks into the privacy
checking phase and out of resolve.

r? @nikomatsakis

This starts moving a bunch of privacy checks into the privacy
checking phase and out of resolve.
@bors bors merged commit 2e7ec80 into rust-lang:incoming Mar 20, 2013
oli-obk pushed a commit to oli-obk/rust that referenced this pull request May 2, 2020
Check fn header along with decl when suggesting to implement trait

When checking for functions that are potential candidates for trait
implementations check the function header to make sure modifiers like
asyncness, constness and safety match before triggering the lint.

Fixes rust-lang#5413, rust-lang#4290

changelog: check fn header along with decl for should_implement_trait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants